package cn.iocoder.yudao.module.crossborder.order.controller.admin.ordershipmentitem.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 跨境电商发货明细分页 Request VO")
@Data
public class OrderShipmentItemPageReqVO extends PageParam {

    @Schema(description = "发货编号", example = "13459")
    private Long shipmentId;

    @Schema(description = "发货单号")
    private String shipmentNo;

    @Schema(description = "订单项编号", example = "12274")
    private Long orderItemId;

    @Schema(description = "SKU编号", example = "29248")
    private Long skuId;

    @Schema(description = "SKU编码")
    private String skuCode;

    @Schema(description = "商品名称", example = "张三")
    private String productName;

    @Schema(description = "发货数量")
    private BigDecimal quantity;

    @Schema(description = "重量（kg）")
    private BigDecimal weight;

    @Schema(description = "体积（立方米）")
    private BigDecimal volume;

    @Schema(description = "批次号")
    private String batchNo;

    @Schema(description = "序列号列表，逗号分隔")
    private String serialNos;

    @Schema(description = "库位编码")
    private String locationCode;

    @Schema(description = "包裹号")
    private String packageNo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}